<template>
	<div style="height:100%;">
		<router-view></router-view>
	</div>
</template>

<script>
	
	// import WrapHead from '../components/Header'
	// import WrapSlide from '@/components/leftNav'
//	import {vueEle} from '@/common/js/vueBus.js'
    
	// import router from '@/router/index'
	export default {
	    data() {
	      	return {
	      		data1:null,
	      		menuData:null,
				browserHeight:null,
				isChangeBigWidth:false

	      	}
	    },
	    components:{

	    },
		computed: {
            classToggle: function () {
                return {
                'isBig': this.isChangeBigWidth,
                'isSmall': !this.isChangeBigWidth,
                }
            }
        },
	    methods:{
			test:function(value){
				console.log(value,'test');
			},

	    },
	    created(){
	    	var rou=window.location.href.split('#')[1];
		    	if(rou&&rou.length<=1){
		    		this.$router.push("/homepage");
		    	}
	    },
	    beforeMount(){
			var self = this;
// 			this.Axios.Post('/color').then(function(res){
// 				    console.log(res.data);
// 					self.data1 = res.data;
// //					console.log(self)				
// 				}
// 			);

	    },
		mounted(){
			this.browserHeight = Math.max(document.body[ "scrollHeight" ],document.documentElement[ "scrollHeight"]);
			console.log(this.browserHeight,'height');
			// this.$router.push('/login');
	}
	}
</script>

<style scoped>

</style>